$(document).ready(function () {	
	$(".view-more").click(function () {
		$(this).hide();
		$(this).parents("div").animate({height: "100%", }, 1500, "easein");
	});
	
	$(".update-data").click(function () {
		$.ajax({
			type: "GET",
			url: url,
			data:{},
			success: function(data) {
				if (data == "0") {
					alert("Domain is not valid!");
				} 
				
				if (data == "1") {
					alert("Start process update domain");
				}
				
				if (data == "2") {
					alert("Processing update domain");
				}
				window.location.reload( true );
			}
		});
		
		return false;
	});
});